package com.taoym.voucher.common.utils;

import com.taoym.voucher.common.response.ResponseStatusCode;
import lombok.Getter;

/**
 * @author: taoym
 * @date: 2021/4/12 22:50
 * @desc: 异常信息
 */
@Getter
public class ExceptionCore extends RuntimeException {

    private final ResponseStatusCode responseStatusCode;

    public ExceptionCore(ResponseStatusCode responseStatusCode) {
        this.responseStatusCode = responseStatusCode;
    }
}
